package com.testfileupload.uploadimg.design.faced.define;
//门面不参与子系统内的业务逻辑

public class Context {
    //委托处理
    private ClassA classA = new ClassA();
    private ClassB classB = new ClassB();

    //复杂的计算
    public void complexMethod() {
        this.classA.doSomethingA();
        this.classB.doSomethingB();
    }
}
